.class Lcom/estrongs/android/view/u$a;
.super Ljava/lang/Object;
.source "DeviceGridViewWrapper.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/u;->K0()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/u;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/u;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-static {p1}, Lcom/estrongs/android/view/u;->a(Lcom/estrongs/android/view/u;)Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-static {p1}, Lcom/estrongs/android/view/u;->b(Lcom/estrongs/android/view/u;)V

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-virtual {p1}, Lcom/estrongs/android/view/u;->A()V

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-static {p1}, Lcom/estrongs/android/view/u;->c(Lcom/estrongs/android/view/u;)V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-static {p1}, Lcom/estrongs/android/view/u;->a(Lcom/estrongs/android/view/u;)Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    move-result-object p1

    monitor-enter p1

    .line 6
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-static {v0}, Lcom/estrongs/android/view/u;->a(Lcom/estrongs/android/view/u;)Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;->a()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-static {v0}, Lcom/estrongs/android/view/u;->d(Lcom/estrongs/android/view/u;)Lcom/estrongs/android/ui/view/HeaderAndFooterAdapter;

    move-result-object v0

    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-static {v0}, Lcom/estrongs/android/view/u;->e(Lcom/estrongs/android/view/u;)Les/d10;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/view/u$a;->a:Lcom/estrongs/android/view/u;

    invoke-static {v0}, Lcom/estrongs/android/view/u;->e(Lcom/estrongs/android/view/u;)Les/d10;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Les/d10;->a(Z)V

    .line 10
    :cond_0
    monitor-exit p1

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0

    .line 11
    :cond_1
    :goto_0
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v0, "cast_page_scan"

    invoke-virtual {p1, v0}, Lcom/estrongs/android/statistics/b;->d(Ljava/lang/String;)V

    return-void
.end method
